<include file="public:header" />

<div class="pad_10" >

	<!-- <form name="searchform" method="get" >
    <table width="100%" cellspacing="0" class="search_form">
        <tbody>
            <tr>
                <td>
                <div class="explain_col">
                    <input type="hidden" name="g" value="admin" />
                    <input type="hidden" name="m" value="user" />
                    <input type="hidden" name="a" value="index" />
                    <input type="hidden" name="menuid" value="{$menuid}" />
                    &nbsp;关键字 :
                    <input name="keyword" type="text" class="input-text" size="25" value="{$search.keyword}" />
                    <input type="submit" name="search" class="btn" value="搜索" />
                </div>
                </td>
            </tr>
        </tbody>
    </table>
    </form> -->
    <form></form>


    <div class="J_tablelist table_list" data-acturi="{:U('/')}">
	    <table width="100%" cellspacing="0">
	        <thead>
	            <tr>
	                <!-- <th width=25><input type="checkbox" id="checkall_t" class="J_checkall"></th> -->
	                <th><span data-tdtype="order_by" data-field="id">ID</span></th>
	                <th align="left"><span data-tdtype="order_by" data-field="code_num">优惠码</span></th>
	                <th align="left"><span data-tdtype="order_by" data-field="code_num">折扣</span></th>
	                <th width="60" align="left"><span data-tdtype="order_by" data-field="username">销售人员</span></th>
	                <th width="80"  align="left">{:L('operations_manage')}</th>
	            </tr>
	        </thead>
	    	<tbody>
	            <volist name="list" id="val" >
	            <tr>
	                <!-- <td align="center"><input type="checkbox" class="J_checkitem" value="{$val.id}"></td> -->
	                <td align="center">{$val.id}</td>
	                <td align="left">{$val.code_num}</td>
	                <td align="left">{$val.discount}</td>
	                <td align="left">{$val.username}</td>
	                <td align="left">
	                	<a href="{:U('discount/edit')}&id={$val.id}">编辑</a>
	                	<a href="{:U('discount/use_record')}&id={$val.id}">查看</a>

	                	<!-- <a href="/index.php?g=admin&m=discount&a=del&id={$val.id}" onclick="javascript:return confirm('你确定要删除吗?');">删除</a> -->
	                </td>
	               
	            </volist>
	    	</tbody>
	    </table>
	    <div class="btn_wrap_fixed">
	        
	        <div id="pages">{$page}</div>
	    </div>
    </div>
</div>

<include file="public:footer" />
</body>
</html>
<!-- <link rel="stylesheet" type="text/css" href="__STATIC__/js/calendar/calendar-blue.css"/> -->
<!-- <script type="text/javascript" src="__STATIC__/js/calendar/calendar.js"></script> -->
